package com.example.demo;

import com.google.gson.Gson;

import java.util.Date;

/**
 * Created by luke on 18/2/10.
 */
public class Utils {

    public static void main(String arg[]){
        Bible bible = new Bible();
        bible.setPart("新约");
        bible.setBook("创世纪");

        Gson gson = new Gson();
        System.out.print(gson.toJson(bible));
        System.out.print(gson.toJson(bible));

        Date date = new Date();
        System.out.println(date.toString());
    }
}
